package com.sgcc.pda.apimodel.request;

import java.util.Map;

/**
 * Created by cj on 2020/9/1.
 */
public class PostDataWeaveStringRequest {

    private String serverName;//微服务名称
    private String uri;//网关方法
    private String serverMethod;//微服务方法名
    private Map<String, String> requestParams;//微服务方法入参map
    private boolean needUid;//是否需要uid
    private String uid;


    public PostDataWeaveStringRequest() {
    }

    public PostDataWeaveStringRequest(String serverName, String uri, String serverMethod, Map<String, String> requestParams, boolean needUid, String uid) {
        this.serverName = serverName;
        this.uri = uri;
        this.serverMethod = serverMethod;
        this.requestParams = requestParams;
        this.needUid = needUid;
        this.uid = uid;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getServerMethod() {
        return serverMethod;
    }

    public void setServerMethod(String serverMethod) {
        this.serverMethod = serverMethod;
    }

    public Map<String, String> getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(Map<String, String> requestParams) {
        this.requestParams = requestParams;
    }

    public boolean isNeedUid() {
        return needUid;
    }

    public void setNeedUid(boolean needUid) {
        this.needUid = needUid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
